package kz.kstu.shop.business.server.impl;

import kz.kstu.shop.business.server.context.AbstractServerContextManager;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 * @author Filipp_Stankevich
 *         created: 26.07.11 19:41
 */
public abstract class AbstractService extends AbstractServerContextManager {

    protected EntityManager getEntityManager() {
        return getServerContext().getEntityManager();
    }
}
